Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Base.OneTo(n) by 1:n for consistency #1124

Merged
merged 1 commit into from
Nov 6, 2024
Merged

Replace Base.OneTo(n) by 1:n for consistency #1124

merged 1 commit into from
Nov 6, 2024

Conversation

juliohm
Copy link
Member

@juliohm juliohm commented Nov 6, 2024

@JoshuaLampert I believe that these are the only two places in the code base where this internal function from Base is used. In order to be 100% consistent, I am proposing that we stick to the range syntax used elsewhere. Is that ok?

Copy link

codecov bot commented Nov 6, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 87.70%. Comparing base (c5931cb) to head (bcec2bd).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
src/topologies.jl 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1124   +/-   ##
=======================================
  Coverage   87.70%   87.70%           
=======================================
  Files         191      191           
  Lines        6002     6002           
=======================================
  Hits         5264     5264           
  Misses        738      738           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@JoshuaLampert JoshuaLampert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine with me.

@juliohm juliohm merged commit 42f8543 into master Nov 6, 2024
14 of 16 checks passed
@juliohm juliohm deleted the oneto branch November 6, 2024 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants